package com.puppet.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 培训师
 * </p>
 *
 * @author puppet
 * @since 2024-09-26
 */
@Getter
@Setter
@TableName("wnxt_trainer")
//@ApiModel(value = "Trainer对象", description = "培训师")
public class Trainer implements Serializable {

    private static final long serialVersionUID = 1L;

    //      @ApiModelProperty
    @ExcelProperty("编号")
    private String id;

    //      @ApiModelProperty("培训师姓名")
    @ExcelProperty("姓名")
    private String name;

    //      @ApiModelProperty("培训师简介")
    @ExcelProperty("简介")
    private String intro;

    //      @ApiModelProperty("培训师资历,一句话说明培训师")
    @ExcelProperty("资历")
    private String career;

    //      @ApiModelProperty("头衔 1高级培训师 2首席培训师")
    @ExcelProperty("头衔")
    private Integer level;

    //      @ApiModelProperty("培训师头像")
    @ExcelIgnore
    private String avatar;

    //      @ApiModelProperty("排序")
    @ExcelProperty("序号")
    private Integer sort;

    //      @ApiModelProperty("逻辑删除 1（true）已删除， 0（false）未删除")
    @TableLogic   //逻辑删除（数据不会真正删除
    @ExcelIgnore
    private Byte isDeleted;

    //      @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    @ExcelIgnore
    private LocalDateTime createTime;

    //      @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT)
    @ExcelIgnore
    private LocalDateTime updateTime;
}
